package com.hp.Model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data @NoArgsConstructor
@AllArgsConstructor
@Builder
public class Course {
    private Long id;
    private String title;
    private String brief;// TEXT

    /** 入门 / 进阶 / 高级 */
    private String difficulty;

    /** 语言代码，如 zh */
    private String langCode;

    private Long teacherId;// FK -> user.id

    /** DRAFT / PUBLISHED / ARCHIVED */
    private String status;

    private Date createdAt;
}
